In this task, you will be given a sentence or two along with a change aspect. You should change the given text in the given aspect. Aspects are explained below:
 Tense: Change the tense of the verbs in the text. If they're in past tense, change them to present, and if they're in present tense, change them to past tense.
Number: Change the number of the nouns in the given text. Make plurals into singles and single into plurals. Remember to change the corresponding pronouns accordingly.
Voice: If the verbs are in active voice, change them to be passive, otherwise, change them to be in active voice.
Adverb: add one or multiple adverbs to the text.
Gender: If the text contains female names and pronouns, substitute them with male names and pronouns. Do the same for sentences with mala names and pronouns.
One example: sentence: Jim signaled the barman and gestured toward his empty glass . aspect: Number
Solution is here: Jim and Bill signaled the barmen and gestured toward  their empty glasses .
Explanation: You have to add people names and change the pronouns if you want to change the number aspect of the sentence.

Now, solve this: sentence: Joe paid the detective after he delivered the final report on the case . aspect: Voice
Solution:
The detective was paid by Joe after he delivered the final report on the case .